/*
 * @Author: liwenhao
 * @Date: 2021-05-21 22:28:01
 * @LastEditors: liwenhao
 * @LastEditTime: 2021-05-21 22:30:31
 * @Description:ye
 */
const fs = require('fs')

let rs = fs.createReadStream('./test.txt')
let ws = fs.createWriteStream('./.test1.txt')

rs.pipe(ws)